import generateFormItem from './formItem'

export default config => {
  let form = `
        <el-form :model="form" ref="formRef" label-width="100px" label-position="right" :rules="formRules">
            <el-row :gutter="20">
                ${generateFormItem(config)}
            </el-row>
        </el-form>
    `
  return form
}
